package com.huike.mapper.user;

import com.huike.pojo.SysUser;
import com.huike.pojo.User;
import lombok.Data;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {

    @Select("SELECT * from sys_user where user_name=#{username}")
    User selectUserByUsername(String username);

    List<SysUser> selectUserList(SysUser user);
}
